// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * FundsPayOrderInfo
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "funds_pay_order_info", autoResultMap = true)
@Schema(title = "请款信息")
public class FundsPayOrderInfo implements Serializable {

  /**
   * 所属请款单
   */
  @TableField(value = "`parent_id`")
  @JoinField(FundsPayOrder.class)
  @Schema(title = "所属请款单")
  private Long parentId;

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 采购单号
   */
  @TableField(value = "`purchase_order_code`")
  @Schema(title = "采购单号")
  private String purchaseOrderCode;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 采购金额
   */
  @TableField(value = "`purchase_money`")
  @Schema(title = "采购金额")
  private java.math.BigDecimal purchaseMoney;

  /**
   * 到货金额
   */
  @TableField(value = "`aog_money`")
  @Schema(title = "到货金额")
  private java.math.BigDecimal aogMoney;

  /**
   * 应付金额
   */
  @TableField(value = "`amount_payable`")
  @Schema(title = "应付金额")
  private java.math.BigDecimal amountPayable;

  /**
   * 实付金额
   */
  @TableField(value = "`actually_paid`")
  @Schema(title = "实付金额")
  private java.math.BigDecimal actuallyPaid;

  /**
   * 本次折扣
   */
  @TableField(value = "`this_discount`")
  @Schema(title = "本次折扣")
  private java.math.BigDecimal thisDiscount;

  /**
   * 费用名称
   */
  @TableField(value = "`fee_name`")
  @Schema(title = "费用名称")
  private String feeName;

  /**
   * 费用金额
   */
  @TableField(value = "`fee_money`")
  @Schema(title = "费用金额")
  private java.math.BigDecimal feeMoney;

  /**
   * 本次申请
   */
  @TableField(value = "`this_application`")
  @Schema(title = "本次申请")
  private java.math.BigDecimal thisApplication;

  /**
   * 折合
   */
  @TableField(value = "`convert_into`")
  @Schema(title = "折合")
  private java.math.BigDecimal convertInto;
}
